<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./iconfont/iconfont.css">
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .div{
            position: relative;
            height: 300px;
            width: 500px;
            overflow: hidden;
            margin: 50px auto;
            background-color: aqua;
            border-radius: 20px;
        }
        .div img{
            vertical-align: bottom;
            height: 300px;
            width: 500px;
        } 
        .div i{
            position: absolute;
            width: 30px;
            height: 30px;
            font-size: 30px;
            color: rgb(52, 47, 45);
            background-color: #74696065;
        }

        .div2{
            opacity: 0;
        }

        .div .div2:hover{
            opacity: 1;
        }
        .right{
            left: 0;
            top: 50%;
            border-radius: 0 15px 15px 0;
        }
        .left{
            right: 0;
            top: 50%;
            border-radius: 15px 0 0 15px;
        }
        .r{
            width: 10px;
            height: 10px;
            position: absolute;
            background-color: #fff;
            border-radius: 50%;
            bottom: 10px;
            left: 50%;
            box-shadow: 5px 5px 3px 0px rgba(0,0,0,0.3) ;
            border: solid 2px #fff;
        }
        .r1{
            left: 45%;
        }
        .r3{
            left: 55%;
        }
        .r2{
            background-color: #5f5f57;
        }
        .r:active{
            background-color: #5f5f57;
        }
    </style>
</head>
<body>
    <div class="div">
        <img src="./images/banner1.jpg" alt=""><img src="./images/banner2.jpg" alt=""><img src="./images/banner3.jpg" alt="">
        <div class="div2">
        <i class="iconfont icon-zuoce right"></i>
        <i class="iconfont icon-youce left"></i>
        </div>
        <span class="r r1"></span>
        <span class="r r2"></span>
        <span class="r r3"></span>
    </div>
</body>
</html>